StructInsert(structure, key, value [, allowoverwrite ])


Inserts the specified key-value pair into the specified structure. Returns Yes if the insert was successful and No if an error occurs.

See also StructClear, StructDelete, StructFind, StructIsEmpty, StructKeyArray, StructCount, StructKeyArray, and StructUpdate.

structure

Structure to contain the new key-value pair.

key

Key that contains the inserted value.

value

Value to be added.

allowoverwrite

Optionally indicates whether to allow overwriting an existing key. The default is FALSE.